package com.lt.test.provider.dao;

import java.util.List;
import java.util.Map;

public interface LeaveDao{
	 List query(Map parameter);  
	 int create(Map parameter);
     int update(Map parameter);   
     int save(Map parameter); 
     int delete(Long id);
     Map findById(Long id);
     int batch(List values);
     int batchUpdate(List values);
     int batchDelete(List values);

     List<Map<String, Object>> queryLeave(Map parameter) throws Exception;

}
